package handlers;

import people.Character;

public class JobHandler {

	/*
	 * 1 = Wizard 2 = Warrior 3 = Thief 4 = Archer
	 */

	public static int[] getGrowths(Character c) {
		
		int[] g = new int[6];
		
		/*
		 * Growths: 0: Health 1: Mana 2: Strength 3: Dexterity 4: Intellect 5:
		 * Luck
		 */

		switch (Character.c.job) {

		case 1:
			g[0] = 3;
			g[1] = 20;
			g[2] = 1;
			g[3] = 2;
			g[4] = 8;
			g[5] = 4;
			break;
		case 2:
			g[0] = 20;
			g[1] = 2;
			g[2] = 10;
			g[3] = 2;
			g[4] = 0;
			g[5] = 2;
			break;
		case 3:
			g[0] = 5;
			g[1] = 3;
			g[2] = 5;
			g[3] = 6;
			g[4] = 3;
			g[5] = 10;
			break;
		case 4:
			g[0] = 10;
			g[1] = 3;
			g[2] = 4;
			g[3] = 10;
			g[4] = 2;
			g[5] = 6;
			break;
		}
		return g;
	}

	public static int[] getGrowths(int i) {
		int[] g = new int[6];

		/*
		 * Growths: 0: Health 1: Mana 2: Strength 3: Dexterity 4: Intellect 5:
		 * Luck
		 */

		switch (i) {

		case 1:
			g[0] = 3;
			g[1] = 20;
			g[2] = 1;
			g[3] = 2;
			g[4] = 8;
			g[5] = 4;
			break;
		case 2:
			g[0] = 20;
			g[1] = 2;
			g[2] = 10;
			g[3] = 2;
			g[4] = 0;
			g[5] = 2;
			break;
		case 3:
			g[0] = 5;
			g[1] = 3;
			g[2] = 5;
			g[3] = 6;
			g[4] = 3;
			g[5] = 10;
			break;
		case 4:
			g[0] = 10;
			g[1] = 3;
			g[2] = 4;
			g[3] = 10;
			g[4] = 2;
			g[5] = 6;
			break;
		}
		return g;
	}
}
